]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
13 years agoappDisplay: Add new FolderIcon class
Florian Müllner [Thu, 31 Jan 2013 16:13:37 +0000 (17:13 +0100)]
appDisplay: Add new FolderIcon class

FolderIcons will appear in the primary app view along AppIcons, but
represent a group of applications rather than a single application.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Add intermediate stack widget to hold folder popups
Florian Müllner [Mon, 18 Feb 2013 19:19:18 +0000 (20:19 +0100)]
appDisplay: Add intermediate stack widget to hold folder popups

AllView will be updated to allow app folders in addition to app
launchers. Folders will pop up in the existing view, so add an
additional stack widget into the hierarchy which popups will use
as parent.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Make AlphabeticalView an abstract base class of AllView
Florian Müllner [Tue, 19 Feb 2013 22:23:41 +0000 (23:23 +0100)]
appDisplay: Make AlphabeticalView an abstract base class of AllView

We are going to introduce app folders, which will also present an
alphabetical list of applications, but use a different UI. In
preparation for that, split out the item logic into an abstract
base class.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Set a maximum column number
Florian Müllner [Fri, 15 Feb 2013 15:47:39 +0000 (16:47 +0100)]
appDisplay: Set a maximum column number

In particular on widescreen monitors, the number of items in a row
can be overwhelming, so limit the number of columns and center the
view.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Make _loadCategory() a utility function
Florian Müllner [Thu, 31 Jan 2013 14:16:25 +0000 (15:16 +0100)]
appDisplay: Make _loadCategory() a utility function

When we bring back categories as folders, this method will be
useful outside of AppDisplay.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agomessageTray: Move makeCloseButton() into Util
Florian Müllner [Mon, 18 Feb 2013 20:35:02 +0000 (21:35 +0100)]
messageTray: Move makeCloseButton() into Util

The function is useful for other modules as well, so move it to a
more generic place.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Remove unused variables
Florian Müllner [Thu, 31 Jan 2013 00:08:56 +0000 (01:08 +0100)]
appDisplay: Remove unused variables

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Merge AllAppDisplay and ViewByCategories
Florian Müllner [Wed, 30 Jan 2013 22:58:42 +0000 (23:58 +0100)]
appDisplay: Merge AllAppDisplay and ViewByCategories

With categories removed, the separation between AllAppDisplay and
ViewByCategories no longer makes sense. Also use this opportunity
to rename the outdated AllAppDisplay to AppDisplay; it will
eventually be used to manage different views.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Merge AppIcon and AppWellIcon
Florian Müllner [Wed, 30 Jan 2013 22:51:43 +0000 (23:51 +0100)]
appDisplay: Merge AppIcon and AppWellIcon

AppIcon is just a tiny wrapper around BaseIcon, which does not add
anything over using BaseIcon directly, so merge its code with
AppWellIcon. As the concept of the "app well" has not been used
since well before 3.0, use AppIcon as name for the merged class.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoappDisplay: Remove categories
Florian Müllner [Wed, 30 Jan 2013 22:42:39 +0000 (23:42 +0100)]
appDisplay: Remove categories

We will eventually display some categories as app folders, but the
existing code doesn't help with the implementation, so remove it.

https://bugzilla.gnome.org/show_bug.cgi?id=694192

13 years agoAccessibilityMenu: hide when not needed
Giovanni Campagna [Mon, 13 Aug 2012 17:04:03 +0000 (19:04 +0200)]
AccessibilityMenu: hide when not needed

Tie the menu visibility to having at least one a11y feature enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=681528

13 years agoUpdated POTFILES.in
Piotr Drąg [Tue, 19 Feb 2013 19:29:16 +0000 (20:29 +0100)]
Updated POTFILES.in

13 years agotheme: add some transparency to the menu backgrounds
Allan Day [Tue, 19 Feb 2013 18:45:32 +0000 (18:45 +0000)]
theme: add some transparency to the menu backgrounds

They look too hard with a fully opaque black background. A small
bit of transparency will give a softer appearance without impairing
readability.

https://bugzilla.gnome.org/show_bug.cgi?id=694202

13 years agopolKitAgent: Don't crash when we cannot enable/disable the auth agent
Adel Gadllah [Sun, 4 Nov 2012 10:53:22 +0000 (11:53 +0100)]
polKitAgent: Don't crash when we cannot enable/disable the auth agent

This makes it easier to run with jhbuild.

https://bugzilla.gnome.org/show_bug.cgi?id=687556

13 years agol10n: Updated Italian translation
Luca Ferretti [Tue, 19 Feb 2013 10:07:46 +0000 (11:07 +0100)]
l10n: Updated Italian translation

13 years agouserMenu: Use single quotes for non translateable strings
Adel Gadllah [Tue, 19 Feb 2013 07:44:01 +0000 (08:44 +0100)]
userMenu: Use single quotes for non translateable strings

Coding style cleanup ...

13 years agobuild: Bump gnome-desktop requirement to 3.7.90
Rico Tzschichholz [Tue, 19 Feb 2013 06:54:52 +0000 (07:54 +0100)]
build: Bump gnome-desktop requirement to 3.7.90

13 years agooverviewControls: use Params for SlidingControl constructor
Cosimo Cecchi [Tue, 19 Feb 2013 03:35:04 +0000 (22:35 -0500)]
overviewControls: use Params for SlidingControl constructor

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agodash: don't react to window drags
Cosimo Cecchi [Tue, 19 Feb 2013 03:34:27 +0000 (22:34 -0500)]
dash: don't react to window drags

Instead, make the actor half-opaque in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agologinDialog: don't try to stop work spinner if it's already gone
Ray Strode [Wed, 6 Feb 2013 19:36:37 +0000 (14:36 -0500)]
loginDialog: don't try to stop work spinner if it's already gone

This can happen if the dialog gets reset at the wrong moment.

https://bugzilla.gnome.org/show_bug.cgi?id=693757

13 years agologinDialog: fix cancel from "Not Listed?"
Ray Strode [Wed, 6 Feb 2013 22:40:02 +0000 (17:40 -0500)]
loginDialog: fix cancel from "Not Listed?"

Since commit 1ae0fadbf483128e27565baba6e8684bc5defca2 we
no longer start a PAM conversation as soon as the user clicks
the "Not Listed?" button.  Instead we defer starting the PAM
conversation until the user types their username.

Unfortunately, the cancel button resets the dialog back to the
user list indrectly by cancelling the current PAM conversation.

This means if the user hasn't yet entered thier username then
the cancel button doesn't work.

This commit performs a direct dialog reset in the case the
PAM conversation hasn't been started yet.

https://bugzilla.gnome.org/show_bug.cgi?id=693756

13 years agoappDisplay: Fix _ensureIconVisible()
Florian Müllner [Mon, 18 Feb 2013 21:18:09 +0000 (22:18 +0100)]
appDisplay: Fix _ensureIconVisible()

The fade effect was renamed a while ago, but we missed to update
the use in _ensureIconVisible().

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoscroll-view-fade: Fix [vh]fade_offset property getters
Florian Müllner [Mon, 18 Feb 2013 21:16:28 +0000 (22:16 +0100)]
scroll-view-fade: Fix [vh]fade_offset property getters

The two were mixed up all along, and nobody noticed ...

https://bugzilla.gnome.org/show_bug.cgi?id=694125

13 years agoshellEntry: Don't navigate forward before popping up the menu
Jasper St. Pierre [Mon, 18 Feb 2013 21:06:53 +0000 (16:06 -0500)]
shellEntry: Don't navigate forward before popping up the menu

Doing it before the grab messes up the grab helper's tracking
of where the focus was before, leading to it not tracking the
saved focus correctly, meaning that when we pop the menu back
down with escape, it doesn't restore focus correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=694123

13 years agoshellEntry: Add an animation when opening the menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:44 +0000 (15:55 -0500)]
shellEntry: Add an animation when opening the menu

13 years agobackgroundMenu: Don't add an animation to the background menu
Jasper St. Pierre [Mon, 18 Feb 2013 20:51:48 +0000 (15:51 -0500)]
backgroundMenu: Don't add an animation to the background menu

We don't do this for shell entries nor for the message tray
context menu, so it doesn't make sense to do it here, either.

13 years agoshellEntry: Add a modeline
Jasper St. Pierre [Mon, 18 Feb 2013 20:55:30 +0000 (15:55 -0500)]
shellEntry: Add a modeline

13 years agomessageTray: Animate the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:56:21 +0000 (21:56 +0100)]
messageTray: Animate the context menu

Use animation for opening and closing the menu.

13 years agomessageTray: Use 'Clear Message' instead of 'Clear for the context menu
Adel Gadllah [Mon, 18 Feb 2013 20:54:07 +0000 (21:54 +0100)]
messageTray: Use 'Clear Message' instead of 'Clear for the context menu

13 years agobackgroundMenu: Fix a string
Jasper St. Pierre [Mon, 18 Feb 2013 20:46:27 +0000 (15:46 -0500)]
backgroundMenu: Fix a string

The proper terminology is "Background". And while we're at it,
use a real ellipsis.

13 years agoRun the startup animation when we don't have much going on
Jasper St. Pierre [Thu, 14 Feb 2013 03:45:43 +0000 (22:45 -0500)]
Run the startup animation when we don't have much going on

Starting the startup animation when we don't have that much IO
makes it a lot more visible.

Based on a patch by Giovanni Campagna <gcampagna@src.gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agomain: defer startup until we know our session mode
Ray Strode [Mon, 18 Feb 2013 04:02:52 +0000 (23:02 -0500)]
main: defer startup until we know our session mode

commit 92083eaf76fc7a5c2ecdd182896583ab5026ddf0 made
session mode loading an asynchronous operation.

Aspects of the session mode aren't known immediately at
start up. For instance, sessionMode.isGreeter returns
false for greeter sessions until the asynchronous
operation completes.

This commit defers start up processing until the session
mode is fully known.

https://bugzilla.gnome.org/show_bug.cgi?id=682429

13 years agobackgroundMenu: Add a context menu on the background actor
Jasper St. Pierre [Fri, 21 Dec 2012 12:55:00 +0000 (07:55 -0500)]
backgroundMenu: Add a context menu on the background actor

Allow users to change their wallpaper and launch System Settings
from it.

https://bugzilla.gnome.org/show_bug.cgi?id=681540

13 years agoDon't call beginItemDrag() for XDND
Cosimo Cecchi [Sun, 17 Feb 2013 19:40:52 +0000 (14:40 -0500)]
Don't call beginItemDrag() for XDND

The dragged actors are not overview items.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoappDisplay: remove unused parameter to AppWellIcon constructor
Cosimo Cecchi [Mon, 18 Feb 2013 04:08:41 +0000 (23:08 -0500)]
appDisplay: remove unused parameter to AppWellIcon constructor

https://bugzilla.gnome.org/show_bug.cgi?id=686984

13 years agoxdndHandler: Add the dummy actor to the uiGroup
Jasper St. Pierre [Fri, 15 Feb 2013 06:58:21 +0000 (01:58 -0500)]
xdndHandler: Add the dummy actor to the uiGroup

While this isn't too urgent, since this won't break if we don't have
a drag actor, I was wondering what the other child in my stage was.

13 years agomessageTray: Don't allow opening while entering/leaving the overview
Jasper St. Pierre [Sun, 17 Feb 2013 19:26:04 +0000 (14:26 -0500)]
messageTray: Don't allow opening while entering/leaving the overview

The complex overview transition code means that there's no easy
way to handle with this right now. Blocking the message tray
while the overview is animating seems like the correct thing to do.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Jiggle some code around
Jasper St. Pierre [Sun, 17 Feb 2013 19:30:04 +0000 (14:30 -0500)]
messageTray: Jiggle some code around

This is to put state management with state management

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Drop more special overview handling
Jasper St. Pierre [Sun, 17 Feb 2013 18:38:10 +0000 (13:38 -0500)]
messageTray: Drop more special overview handling

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agomessageTray: Re-add the hotcorner when the panel is updated
Jasper St. Pierre [Sun, 17 Feb 2013 04:28:29 +0000 (23:28 -0500)]
messageTray: Re-add the hotcorner when the panel is updated

The activities button may come and go at any moment now that we
have a dynamic panel. We need to re-check the activities button
whenever the panel is updated.

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agotheme: Clean up and merge window-caption definitions
Jasper St. Pierre [Mon, 18 Feb 2013 19:09:49 +0000 (14:09 -0500)]
theme: Clean up and merge window-caption definitions

13 years agooverviewControls: don't perform translation when target is met already
Cosimo Cecchi [Mon, 18 Feb 2013 19:17:29 +0000 (14:17 -0500)]
overviewControls: don't perform translation when target is met already

Fixes a regression from ccb81919f79f9f684234deb8f6b1fcdaae3e7965

13 years agouserMenu: Use the session id to detect the current session
Adel Gadllah [Mon, 18 Feb 2013 17:03:13 +0000 (18:03 +0100)]
userMenu: Use the session id to detect the current session

This allows us to detect startx sessions.

https://bugzilla.gnome.org/show_bug.cgi?id=693896

13 years agooverview: Don't display minimized windows differently in the overview
Adel Gadllah [Sun, 17 Feb 2013 13:20:34 +0000 (14:20 +0100)]
overview: Don't display minimized windows differently in the overview

Making them not fully opaque just makes them harder to see and there is no reason why the user should care whether the window is minimized or not when
switching to a window display them like any other windows.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agopopupMenu: Close all child menus when the main menu is closed
Jasper St. Pierre [Sat, 16 Feb 2013 18:43:01 +0000 (13:43 -0500)]
popupMenu: Close all child menus when the main menu is closed

Otherwise, if something managed to call close(), it wouldn't
close any child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Move child menus to be a PopupMenu-only thing
Jasper St. Pierre [Sat, 16 Feb 2013 18:42:17 +0000 (13:42 -0500)]
popupMenu: Move child menus to be a PopupMenu-only thing

It doesn't make sense for combo menus, sections, or submenus
to have child menus.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agopopupMenu: Remove support for nested combo boxes
Jasper St. Pierre [Mon, 18 Feb 2013 01:02:09 +0000 (20:02 -0500)]
popupMenu: Remove support for nested combo boxes

I'm sure this was originally a testcase for nested child
menus, and we never actually inteded any support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=693572

13 years agoMinimize fullscreen windows when they end up in the background
Adel Gadllah [Mon, 18 Feb 2013 18:26:13 +0000 (19:26 +0100)]
Minimize fullscreen windows when they end up in the background

Alt-Tab away from a monitor sized on the primary monitor results into the top
panel being displayed on top of the window which looks very bad.

So just hide those windows by minimizing them.

The icon geometry animation does not really make sense for fullscreen windows
so just fade them out.

https://bugzilla.gnome.org/show_bug.cgi?id=693991

13 years agolayout: Fix tray barrier never getting destroyed
Jasper St. Pierre [Mon, 18 Feb 2013 09:45:06 +0000 (04:45 -0500)]
layout: Fix tray barrier never getting destroyed

Due to a typo, we accidentally set trayPressure to null,
making the next branch always fail.

https://bugzilla.gnome.org/show_bug.cgi?id=694070

13 years agoStEntry: reset the cursor when unmapped
Giovanni Campagna [Mon, 18 Feb 2013 00:47:34 +0000 (01:47 +0100)]
StEntry: reset the cursor when unmapped

We cannot reset the cursor at the next leave event, as that might
happen on a NULL stage and cause a BadWindow error, so do it on
unmap (which is guaranteed to happen before the stage is cleared).

https://bugzilla.gnome.org/show_bug.cgi?id=694057

13 years agoOverviewControl: simplify code to add bottom padding
Giovanni Campagna [Mon, 18 Feb 2013 15:25:28 +0000 (16:25 +0100)]
OverviewControl: simplify code to add bottom padding

All the complexity with a custom actor and a generic container was
just to add some padding below the overview controls. Remove that,
and use CSS instead.

https://bugzilla.gnome.org/show_bug.cgi?id=694100

13 years agoRemove builtin settings search provider
Giovanni Campagna [Fri, 28 Dec 2012 17:03:13 +0000 (18:03 +0100)]
Remove builtin settings search provider

It is now provided as a remote provider by gnome-control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=690824

13 years agokeyboard: track XKB group configuration change
Daiki Ueno [Mon, 18 Feb 2013 03:01:04 +0000 (12:01 +0900)]
keyboard: track XKB group configuration change

Since GNOME 3.6, switching XKB layouts changes the group
configuration.  This patch tries to track group configuration changes
and reconstruct UI as needed.  See also caribou bug#694011.

https://bugzilla.gnome.org/show_bug.cgi?id=681735

13 years agol10n: Updated Italian translation
Luca Ferretti [Mon, 18 Feb 2013 13:58:03 +0000 (14:58 +0100)]
l10n: Updated Italian translation

13 years agooverviewControls: update slide in translations from pageEmpty
Cosimo Cecchi [Mon, 18 Feb 2013 06:25:54 +0000 (01:25 -0500)]
overviewControls: update slide in translations from pageEmpty

Now that we unified animation times, move in controls together with the
new view.

https://bugzilla.gnome.org/show_bug.cgi?id=694064

13 years agooverviewControls: fix math for translations when sliding in
Cosimo Cecchi [Mon, 18 Feb 2013 06:24:40 +0000 (01:24 -0500)]
overviewControls: fix math for translations when sliding in

The math to compute translations was wrong when sliding in; also, don't
depend on the slide value for the translation anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=694064

13 years agolayout: Fix regressions
Adel Gadllah [Mon, 18 Feb 2013 12:14:42 +0000 (13:14 +0100)]
layout: Fix regressions

Commit 6b4f52462071dc9af5b8915afebc8bc340b49ca2 removed the layer checks
_updateFullscreen ... this causes corruption when alt-tabbing out
of a fullscreen window so restore the check.

The commit also removed the screen sized check so we are no longer
setting all monitors to fullscreen. Fix that as well by using
window.is_screen_sized() to perform the check.

https://bugzilla.gnome.org/show_bug.cgi?id=694079

13 years agooverview: Sort windows by travel distance within rows
Adel Gadllah [Sun, 17 Feb 2013 11:12:55 +0000 (12:12 +0100)]
overview: Sort windows by travel distance within rows

Sort windows inside the rows by there travel distance.

https://bugzilla.gnome.org/show_bug.cgi?id=690313

13 years agomessageTray: Fix indentation
Jasper St. Pierre [Mon, 18 Feb 2013 09:37:16 +0000 (04:37 -0500)]
messageTray: Fix indentation

13 years agograbHelper: Fix indentation
Jasper St. Pierre [Sun, 17 Feb 2013 04:27:23 +0000 (23:27 -0500)]
grabHelper: Fix indentation

https://bugzilla.gnome.org/show_bug.cgi?id=694038

13 years agolayout: Reword a comment
Jasper St. Pierre [Sun, 17 Feb 2013 19:10:45 +0000 (14:10 -0500)]
layout: Reword a comment

I don't even know what this was trying to say before...

13 years agooverviewControls: synchronize viewSelector fade and controls slide
Cosimo Cecchi [Mon, 18 Feb 2013 05:17:56 +0000 (00:17 -0500)]
overviewControls: synchronize viewSelector fade and controls slide

If the animation time is not the same for these two, the translation
will be adjusted to the allocation during the tween, resulting in a jump
in the animation.

https://bugzilla.gnome.org/show_bug.cgi?id=694035

13 years agowindowManager: Fix fallback path for icon_geometry animation
Jasper St. Pierre [Sun, 17 Feb 2013 20:01:07 +0000 (15:01 -0500)]
windowManager: Fix fallback path for icon_geometry animation

It doesn't seem like this code was ever tested.

https://bugzilla.gnome.org/show_bug.cgi?id=694052

13 years agoOverview: clip contents to the allocation
Giovanni Campagna [Sun, 17 Feb 2013 21:34:36 +0000 (22:34 +0100)]
Overview: clip contents to the allocation

If they're not clipped, overview controls can leak to secondary monitors
while animating.

13 years agolayout: Call meta_window_* on the meta_window rather then on the actor
Adel Gadllah [Sun, 17 Feb 2013 20:47:09 +0000 (21:47 +0100)]
layout: Call meta_window_* on the meta_window rather then on the actor

13 years agooverviewControls: reset any translation when sliding in for drag
Cosimo Cecchi [Sun, 17 Feb 2013 20:44:33 +0000 (15:44 -0500)]
overviewControls: reset any translation when sliding in for drag

Fixes the dash not sliding when dragging an app from the search results.

13 years agolayout: Use window.is_monitor_sized
Adel Gadllah [Sun, 17 Feb 2013 20:27:40 +0000 (21:27 +0100)]
layout: Use window.is_monitor_sized

Mutter now provides a method for this, so use it.

13 years agoRemove gap between windows when switching workspaces
Hashem Nasarat [Tue, 29 Jan 2013 00:46:29 +0000 (19:46 -0500)]
Remove gap between windows when switching workspaces

Previously there was a distracting gap between workspaces with two full-screen
applications.

https://bugzilla.gnome.org/show_bug.cgi?id=685849

13 years agoFix XDND regression
Adel Gadllah [Sun, 17 Feb 2013 19:45:14 +0000 (20:45 +0100)]
Fix XDND regression

The top_window_group blocks the panel elements from being found by the XDND
pick so hide the whole group from picks as we never attempt to pick its contents
anyway.

13 years agomessageTray: Allow dwell to work in the overview
Adel Gadllah [Sun, 17 Feb 2013 19:13:46 +0000 (20:13 +0100)]
messageTray: Allow dwell to work in the overview

Special case the overview in _trayDwellTimeout because the
tray is hidden by default in the overview now.

13 years agooverviewControls: Fix reallocation cycles
Jasper St. Pierre [Sun, 17 Feb 2013 18:51:51 +0000 (13:51 -0500)]
overviewControls: Fix reallocation cycles

Instead of setting a new height, let the Clutter relayout
machinery do the work for us.

13 years agopressure-barrier: don't discard grabbed events when overview is grabbing
Cosimo Cecchi [Sat, 16 Feb 2013 21:17:11 +0000 (16:17 -0500)]
pressure-barrier: don't discard grabbed events when overview is grabbing

Since we still want to trigger the message tray in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agomain: remove unused function
Cosimo Cecchi [Sat, 16 Feb 2013 21:57:20 +0000 (16:57 -0500)]
main: remove unused function

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agooverviewControls: account for the search entry in each control
Cosimo Cecchi [Sat, 16 Feb 2013 20:36:57 +0000 (15:36 -0500)]
overviewControls: account for the search entry in each control

Account for the search entry space at the bottom (the former message
tray clone) individually in each side control, instead of packing
another actor in the overview.
This allows us to extend the central view all the way to the bottom,
while still keeping controls centered vertically.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agomessageTray: remove overview special handling
Cosimo Cecchi [Sat, 16 Feb 2013 20:34:33 +0000 (15:34 -0500)]
messageTray: remove overview special handling

Don't show the message tray in the overview by default. From now on the
message tray in overview behaves as regularly, i.e. it will slide up the
overview on Super+M keypress.

https://bugzilla.gnome.org/show_bug.cgi?id=693987

13 years agoUpdated Polish translation
Piotr Drąg [Sun, 17 Feb 2013 17:36:20 +0000 (18:36 +0100)]
Updated Polish translation

13 years agoCalendar: don't initialize the event source synchronously
Giovanni Campagna [Sun, 17 Feb 2013 14:52:53 +0000 (15:52 +0100)]
Calendar: don't initialize the event source synchronously

We don't want to block the shell start to load evolution-data-server
and open all calendars (which can involve network connections)

https://bugzilla.gnome.org/show_bug.cgi?id=694030

13 years agoScreenShield: don't add the source actor directly to the boxlayout
Giovanni Campagna [Thu, 14 Feb 2013 16:13:13 +0000 (17:13 +0100)]
ScreenShield: don't add the source actor directly to the boxlayout

StBoxLayout always fills on the orthogonal direction, so the icon
becomes distorted as the layout grows to accomodate more details.
Instead, use a bin that aligns at the start.

https://bugzilla.gnome.org/show_bug.cgi?id=693822

13 years agoMessageTray: don't clear the banner text when adding to the body
Giovanni Campagna [Thu, 14 Feb 2013 16:12:26 +0000 (17:12 +0100)]
MessageTray: don't clear the banner text when adding to the body

ScreenShield uses Notification.bannerBodyText to fill the body of detailed
notifications, so use a separate boolean property to indicate it was already
added to the body.

https://bugzilla.gnome.org/show_bug.cgi?id=693822

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 17 Feb 2013 12:51:33 +0000 (13:51 +0100)]
Updated Galician translations

13 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sat, 16 Feb 2013 20:10:09 +0000 (18:10 -0200)]
Updated Brazilian Portuguese translation

13 years agomessageTray: Close menu when clicking outside of the menu
Adel Gadllah [Sat, 16 Feb 2013 18:51:46 +0000 (19:51 +0100)]
messageTray: Close menu when clicking outside of the menu

13 years agomessageTray: Allow opening the context menu on long press
Adel Gadllah [Fri, 15 Feb 2013 15:09:44 +0000 (16:09 +0100)]
messageTray: Allow opening the context menu on long press

Right click does not work for touch devices, so support opening the menu
using long press as well.

https://bugzilla.gnome.org/show_bug.cgi?id=693887

13 years agograbHelper: Ignore key focus changes when ungrabbing
Jasper St. Pierre [Sat, 16 Feb 2013 18:19:44 +0000 (13:19 -0500)]
grabHelper: Ignore key focus changes when ungrabbing

Calling onUngrab() may change key focus, either directly or
indirectly (e.g. hiding the actor). Such key focus changes
would cause an extra actor to be ungrabbed, so make sure to
ignore such focus changes while we're ungrabbing.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Track the grab before trying to set key focus
Jasper St. Pierre [Sat, 16 Feb 2013 17:52:37 +0000 (12:52 -0500)]
grabHelper: Track the grab before trying to set key focus

If we don't this for a nested grabFocus grab, the notify::key-focus
will be called, not think that the new key focus is part of the
grab, and cancel the full grab. This leaves the grab helper in an
inconsistent and confused state, as the grab is pushed onto the
grab stack after.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Correct typo preventing focus-window-changed disconnect
Jasper St. Pierre [Sat, 16 Feb 2013 17:44:04 +0000 (12:44 -0500)]
grabHelper: Correct typo preventing focus-window-changed disconnect

While debugging, I found that the signal to focus-window-changed
was never getting disconnected, making a call to ungrab every time
the focus window changed, even if there were no focus grabs anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agograbHelper: Use a mode: js header
Jasper St. Pierre [Sat, 16 Feb 2013 17:41:11 +0000 (12:41 -0500)]
grabHelper: Use a mode: js header

This brings us into consistency with the rest of the modelines

https://bugzilla.gnome.org/show_bug.cgi?id=693975

13 years agoshell-app-system: Ensure that we correctly order subsearches
Jasper St. Pierre [Sat, 16 Feb 2013 04:17:44 +0000 (23:17 -0500)]
shell-app-system: Ensure that we correctly order subsearches

As we use g_slist_prepend for efficiency when building the list
of results before ordering it, we need to make sure we traverse
the list of previous results backwards so that it's built in
the same order.

https://bugzilla.gnome.org/show_bug.cgi?id=693936

13 years agoviewSelector: block show apps button checked signal when resetting state
Cosimo Cecchi [Sat, 16 Feb 2013 17:55:59 +0000 (12:55 -0500)]
viewSelector: block show apps button checked signal when resetting state

When we reset the state of the checked button due to the overview
showing and hiding, block the normal checked callback and immediately
switch to the workspaces page, so that windows seamlessly fade in.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: make the old page fade-out optional
Cosimo Cecchi [Sat, 16 Feb 2013 17:59:54 +0000 (12:59 -0500)]
viewSelector: make the old page fade-out optional

When leaving the overview, we don't want the old page to fade out, but
we want to fade in the windows directly.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: always reset search string when entering overview
Cosimo Cecchi [Sat, 16 Feb 2013 17:54:19 +0000 (12:54 -0500)]
viewSelector: always reset search string when entering overview

Instead of relying on the apps button callback to do it for us.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agoviewSelector: don't use resetShowAppsButton when pressing escape
Cosimo Cecchi [Sat, 16 Feb 2013 17:50:25 +0000 (12:50 -0500)]
viewSelector: don't use resetShowAppsButton when pressing escape

Set the checked property explicitly. This is because
resetShowAppsButton() will only be used to flip the button state
blocking the page change in a future commit.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agooverview: change _hideInProgress to visibleTarget
Cosimo Cecchi [Sat, 16 Feb 2013 17:45:10 +0000 (12:45 -0500)]
overview: change _hideInProgress to visibleTarget

And use it in overviewControls. When we moved this code from overview.js
to overviewControls.js we lost a condition so we now slide in controls
even when going back from the overview, which looks bad.

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agooverviewControls: reset translation as well when entering overview
Cosimo Cecchi [Sat, 16 Feb 2013 16:57:58 +0000 (11:57 -0500)]
overviewControls: reset translation as well when entering overview

https://bugzilla.gnome.org/show_bug.cgi?id=693974

13 years agosearch: Don't run a full search for equal terms
Jasper St. Pierre [Sat, 16 Feb 2013 04:15:13 +0000 (23:15 -0500)]
search: Don't run a full search for equal terms

Due to the timeout on the search entry, it's possible for
a very quick edit to the entry to launch a subsearch on the
same search string.

https://bugzilla.gnome.org/show_bug.cgi?id=693937

13 years agosearch: Simplify and correct behavior for substring searches
Jasper St. Pierre [Sat, 16 Feb 2013 04:10:42 +0000 (23:10 -0500)]
search: Simplify and correct behavior for substring searches

Early on, search was based on a list of terms, which was like a set
of tags, in that terms were OR'd, and that order didn't matter. As
such, modifying any one of the terms wouldn't produce new results.
Nowadays, providers take the order into account, so a substring
should only be the case if new terms are added to the end.

https://bugzilla.gnome.org/show_bug.cgi?id=693935

13 years agoWindowOverlay: remove animations when relayouting
Giovanni Campagna [Sat, 16 Feb 2013 16:26:28 +0000 (17:26 +0100)]
WindowOverlay: remove animations when relayouting

If WindowOverlay.relayout() is called without animation, we must stop
any preexisting animation, otherwise it will continue to run with the
previous parameters and cause the overlay to end up in the wrong position.

https://bugzilla.gnome.org/show_bug.cgi?id=693970

13 years agoshell-keybinding-modes: Don't use expression references
Jasper St. Pierre [Sat, 16 Feb 2013 05:31:26 +0000 (00:31 -0500)]
shell-keybinding-modes: Don't use expression references

This confuses the gobject-introspection scanner, silently
making SHELL_KEYBINDING_MODE_NONE into -1.

https://bugzilla.gnome.org/show_bug.cgi?id=693940

13 years agooverviewControls: use translations for explicit slide in/out
Cosimo Cecchi [Sat, 16 Feb 2013 01:50:26 +0000 (20:50 -0500)]
overviewControls: use translations for explicit slide in/out

The slideX property controls the allocation of the view selector; since
we now know when there are no visible views from the page-empty signal,
we can use it to set the full slideX for the next page at that time,
allowing the new view to fade in with the right width.
This allows us to use simple x translations for the side components when
switching pages, keeping the noise due to resizes at the minimum.

The slideX resize for now is kept for DnD, and will always be needed for
the thumbnails box when showing the windows page.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

13 years agooverviewControls: split out an util function
Cosimo Cecchi [Sat, 16 Feb 2013 01:43:01 +0000 (20:43 -0500)]
overviewControls: split out an util function

Will be used later

https://bugzilla.gnome.org/show_bug.cgi?id=693924